.class Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$6;
.super Ljava/lang/Object;
.source "ZMDownloadListActivity.java"

# interfaces
.implements Lcom/zuimeia/sdk/download/view/CustomAlertDialog$OnMyAlertClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->getDeleteClickHandler(J)Lcom/zuimeia/sdk/download/view/CustomAlertDialog$OnMyAlertClickListener;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

.field final synthetic val$downloadId:J


# direct methods
.method constructor <init>(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;J)V
    .registers 4
    .param p1, "this$0"    # Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    .prologue
    .line 353
    iput-object p1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$6;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    iput-wide p2, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$6;->val$downloadId:J

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/app/Dialog;)V
    .registers 6
    .param p1, "dialog"    # Landroid/app/Dialog;

    .prologue
    .line 357
    if-eqz p1, :cond_5

    .line 358
    invoke-virtual {p1}, Landroid/app/Dialog;->cancel()V

    .line 360
    :cond_5
    new-instance v0, Ljava/util/HashSet;

    invoke-direct {v0}, Ljava/util/HashSet;-><init>()V

    .line 361
    .local v0, "downloadIds":Ljava/util/Set;, "Ljava/util/Set<Ljava/lang/Long;>;"
    iget-wide v2, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$6;->val$downloadId:J

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z

    .line 362
    iget-object v1, p0, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity$6;->this$0:Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;

    # invokes: Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->deleteDownloads(Ljava/util/Set;)V
    invoke-static {v1, v0}, Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;->access$700(Lcom/zuimeia/sdk/download/providers/downloads/ui/ZMDownloadListActivity;Ljava/util/Set;)V

    .line 363
    return-void
.end method
